package com.zwu.service;

import com.github.pagehelper.PageInfo;
import com.zwu.pojo.Count;
import com.zwu.pojo.Result;
import com.zwu.pojo.Student;
import com.zwu.vo.ResultVo;
import org.springframework.stereotype.Service;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * @Author: Zyl
 * @Param:
 * @return:
 * @Description:
 */

public interface StudentService {
    public Student findStatus(String identify);
    public List<Student> findAll();
    Result add(MultipartFile file) throws Exception;
    public  List<Student> findStudent(String identify,String time);
    public void deleteStudent(Integer id);
    public  Student findStudentById(Integer id);
    PageInfo<Student> findAllByPage(int pageNo, int pageSize);
    public void updateStudent(Student student);
    public Integer findSameStudent(String identify);
    public Result addStudent(Student student);
    public Count count();
    public Integer allStudent();


}
